package com.lwz.laboratory.dao;

import com.lwz.laboratory.entity.Repair;
import com.lwz.laboratory.entity.Technician;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RepairMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Repair record);

    int insertSelective(Repair record);

    Repair selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Repair record);

    int updateByPrimaryKey(Repair record);
    List<Repair> getRepList(@Param("laboratory") String laboratory);
    List<Repair> selectByperson(@Param("applicant") String applicant);

}